Part Number Hot Search : 
TK61023 LN61C 47M10 LTC341 6C104J1G CH5295 STM32L0 LM317
Product Description
Full Text Search
 

To Download MAX7456EUI Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 19-0576; Rev 0; 8/07
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
General Description
The MAX7456 single-channel monochrome on-screen display (OSD) generator lowers system cost by eliminating the need for an external video driver, sync separator, video switch, and EEPROM. The MAX7456 serves all national and international markets with 256 user-programmable characters in NTSC and PAL standards. The MAX7456 easily displays information such as company logo, custom graphics, time, and date with arbitrary characters and sizes. The MAX7456 is preloaded with 256 characters and pictographs and can be reprogrammed in-circuit using the SPITM port. The MAX7456 is available in a 28-pin TSSOP package and is fully specified over the extended (-40C to +85C) temperature range.
Features
256 User-Defined Characters or Pictographs in Integrated EEPROM 12 x 18 Pixel Character Size Blinking, Inverse, and Background Control Character Attributes Selectable Brightness by Row Displays Up to 16 Rows x 30 Characters Sag Compensation On Video-Driver Output LOS, VSYNC, HSYNC, and Clock Outputs Internal Sync Generator NTSC and PAL Compatible SPI-Compatible Serial Interface Delivered with Preprogrammed Character Set
MAX7456
Applications
Security Switching Systems Security Cameras Industrial Applications In-Cabin Entertainment Consumer Electronics
Pin Configuration appears at end of data sheet. SPI is a trademark of Motorola, Inc.
Ordering Information
PART MAX7456EUI+ PIN-PACKAGE 28 TSSOP-EP* LANGUAGE English/ Japanese PKG CODE U28E-5
*EP = Exposed pad. +Denotes a lead-free package. Note: This device is specified over the -40C to +85C operating temperature range.
Simplified Functional Diagram
AVDD AGND DVDD DGND PVDD PGND
VIN
CLAMP SYSTEM CLOCK SYNC SEPARATOR DAC OSD MUX VIDEO DRIVER VOUT
CLKIN XFB CLKOUT HSYNC VSYNC LOS
XTAL OSCILLATOR
VIDEO TIMING GENERATOR SYNC
MAX7456
SAG NETWORK
SAG
CS SCLK SDIN SDOUT RESET POR SERIAL INTERFACE
DISPLAY ADDRESS
DISPLAY MEMORY (SRAMS)
CHARACTER ADDRESS
CHARACTER MEMORY (NVM)
PIXEL CODE
OSD GENERATOR
PIXEL CONTROL
________________________________________________________________ Maxim Integrated Products
1
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit Maxim's website at www.maxim-ic.com.
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
ABSOLUTE MAXIMUM RATINGS
AVDD to AGND ........................................................-0.3V to +6V DVDD to DGND ........................................................-0.3V to +6V PVDD to PGND.........................................................-0.3V to +6V AGND to DGND.....................................................-0.3V to +0.3V AGND to PGND .....................................................-0.3V to +0.3V DGND to PGND.....................................................-0.3V to +0.3V VIN, VOUT, SAG to AGND......................-0.3V to (VAVDD + 0.3V) HSYNC, VSYNC, LOS to AGND ...............................-0.3V to +6V RESET to AGND .....................................-0.3V to (VAVDD + 0.3V) *As per JEDEC51 Standard (Multilayer Board).
Stresses beyond those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
CLKIN, CLKOUT, XFB to DGND ............-0.3V to (VDVDD + 0.3V) SDIN, SCLK, CS, SDOUT to DGND........-0.3V to (VDVDD + 0.3V) Maximum Continuous Current into VOUT ........................100mA Continuous Power Dissipation (TA = +70C) 28-Pin TSSOP (derate 27mW/C above +70C) .......2162mW* Operating Temperature Range ...........................-40C to +85C Junction Temperature ......................................................+150C Storage Temperature Range .............................-60C to +150C Lead Temperature (soldering, 10s) .................................+300C
ELECTRICAL CHARACTERISTICS
(VAVDD = +4.75V to +5.25V, VDVDD = +4.75V to +5.25V, VPVDD = +4.75V to +5.25V, TA = TMIN to TMAX. Typical values are at VAVDD = VDVDD = VPVDD = +5V, TA = +25C, unless otherwise noted.) (Note 1)
PARAMETER POWER SUPPLIES Analog Supply Voltage Digital Supply Voltage Driver Supply Voltage Analog Supply Current Digital Supply Current Driver Supply Current NONVOLATILE MEMORY Data Retention Endurance DIGITAL INPUTS (CS, SDIN, RESET, SCLK) Input High Voltage Input Low Voltage Input Hysteresis Input Leakage Current Input Capacitance Output High Voltage Output Low Voltage Tri-State Leakage Current CIN VOH VOL ISOURCE = 4mA (SDOUT, CLKOUT) ISINK = 4mA SDOUT, CS = VDVDD 2.4 0.45 10 VIH VIL VHYS VIN = 0 or VDVDD 5 50 10 2.0 0.8 V V mV A pF V V A TA = +25C TA = +25C 100 100,000 Years Stores VAVDD VDVDD VPVDD IAVDD IDVDD IPVDD VIN = 1VP-P (100% white flat field signal), VOUT load, RL = 150 VIN = 1VP-P (100% white flat field signal), VOUT load, RL = 150 VIN = 1VP-P (100% white flat field signal), VOUT load, RL = 150 4.75 4.75 4.75 5 5 5 24 25 58 5.25 5.25 5.25 35 30 80 V V V mA mA mA SYMBOL CONDITIONS MIN TYP MAX UNITS
DIGITAL OUTPUTS (SDOUT, CLKOUT, VSYNC, HSYNC, LOS)
2
_______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
ELECTRICAL CHARACTERISTICS (continued)
(VAVDD = +4.75V to +5.25V, VDVDD = +4.75V to +5.25V, VPVDD = +4.75V to +5.25V, TA = TMIN to TMAX. Typical values are at VAVDD = VDVDD = VPVDD = +5V, TA = +25C, unless otherwise noted.) (Note 1)
PARAMETER CLOCK INPUT (CLKIN) Clock Frequency Clock-Pulse High Clock-Pulse Low Input High Voltage Input Low Voltage Input Leakage Current CLOCK OUTPUT (CLKOUT) Duty Cycle Rise Time Fall Time VIDEO CHARACTERISTICS DC Power-Supply Rejection VAVDD = VDVDD = VPVDD = 5V; VIN = 1VP-P, measured at VOUT VAVDD = VDVDD = VPVDD = 5V; VIN = 1VP-P, measured at VOUT; f = 5MHz; power-supply ripple = 0.2VP-P VOUT to PGND LTD ZOUT Figures 1a, 1b Figures 1a, 1b Figures 1a, 1b At VOUT, Figures 1a, 1b VIN VINSD VOUT BW DG DP VOUT 100% white level with respect to black level Between consecutive horizontal lines 1.25 Figures 1a, 3 (Note 2) Figures 1a, 3 (Note 3) Figures 1a, 1b VOUT = 2VP-P, Figures 1a, 1b 0.5 0.5 2.4 0.7 6 30 0.5 0.5 1.33 24 32 1.45 1.89 0.2 2.0 2.11 AGND + 1.5 1.2 2.0 40 dB 5pF and 10k to DGND 5pF and 10k to DGND 5pF and 10k to DGND 40 50 3 3 60 % ns ns VIN = 0V or VDVDD 14 14 0.7 x VDVDD 0.3 x VDVDD 50 27 MHz ns ns V V A SYMBOL CONDITIONS MIN TYP MAX UNITS
MAX7456
AC Power-Supply Rejection Short-Circuit Current Line-Time Distortion Output Impedance Gain Black Level Input-Voltage Operating Range Input-Voltage Sync Detection Range Maximum Output-Voltage Swing Output-Voltage Sync Tip Level Large Signal Bandwidth (0.2dB) VIN to VOUT Delay Differential Gain Differential Phase OSD White Level Horizontal Pixel Jitter Video Clamp Settling Time
30 230 0.5
dB mA % V/V V VP-P VP-P VP-P V MHz ns % Degrees V ns Lines
_______________________________________________________________________________________
3
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
ELECTRICAL CHARACTERISTICS (continued)
(VAVDD = +4.75V to +5.25V, VDVDD = +4.75V to +5.25V, VPVDD = +4.75V to +5.25V, TA = TMIN to TMAX. Typical values are at VAVDD = VDVDD = VPVDD = +5V, TA = +25C, unless otherwise noted.) (Note 1)
PARAMETER OSD CHARACTERISTICS OSD Rise Time OSD Fall Time OSD Insertion Mux Switch Time OSD insertion mux register OSDM[5,4,3] = 011b OSD insertion mux register OSDM[5,4,3] = 011b OSD insertion mux register OSDM[2,1,0] = 011b 60 60 75 ns ns ns SYMBOL CONDITIONS MIN TYP MAX UNITS
TIMING CHARACTERISTICS
(VAVDD = +4.75V to +5.25V, VDVDD = +4.75V to +5.25V, VPVDD = +4.75V to +5.25V, TA = TMIN to TMAX. Typical values are at VAVDD = VDVDD = VPVDD = +5V, TA = +25C, unless otherwise noted.) (Note 1)
PARAMETER SPI TIMING SCLK Period SCLK Pulse-Width High SCLK Pulse-Width Low CS Fall to SCLK Rise Setup CS Fall After SCLK Rise Hold CS Rise to SCLK Setup CS Rise After SCLK Hold CS Pulse-Width High SDIN to SCLK Setup SDIN to SCLK Hold SDOUT Valid Before SCLK SDOUT Valid After SCLK CS High to SDOUT High Impedance CS Low to SDOUT Logic Level HSYNC, VSYNC, AND LOS TIMING LOS, VSYNC, and HSYNC Valid before CLKOUT Rising Edge VOUT Sync to VSYNC Falling Edge Delay tDOV tVOUT-VSF 20pF to ground NTSC external sync mode, Figure 4 PAL external sync mode, Figure 6 30 375 400 ns ns tCP tCH tCL tCSS0 tCSH0 tCSS1 tCSH1 tCSW tDS tDH tDO1 tDO2 tDO3 tDO4 20pF to ground 20pF to ground 20pF to ground 20pF to ground 100 40 40 30 0 30 0 100 30 0 25 0 300 20 ns ns ns ns ns ns ns ns ns ns ns ns ns ns SYMBOL CONDITIONS MIN TYP MAX UNITS
4
_______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
TIMING CHARACTERISTICS (continued)
(VAVDD = +4.75V to +5.25V, VDVDD = +4.75V to +5.25V, VPVDD = +4.75V to +5.25V, TA = TMIN to TMAX. Typical values are at VAVDD = VDVDD = VPVDD = +5V, TA = +25C, unless otherwise noted.) (Note 1)
PARAMETER VOUT Sync to VSYNC Rising Edge Delay VSYNC Falling Edge to VOUT Sync Delay VSYNC Rising Edge to VOUT Sync Delay VOUT Sync to HSYNC Falling Edge Delay VOUT Sync to HSYNC Rising Edge Delay HSYNC Falling Edge to VOUT Sync Delay HSYNC Rising Edge to VOUT Sync Delay All Supplies High to CS Low NVM Write Busy SYMBOL tVOUT-VSR tVSF-VOUT tVSR-VOUT tVOUT-HSF tVOUT-HSR tHSF-VOUT tHSR-VOUT tPUD tNVW CONDITIONS NTSC external sync mode, Figure 4 PAL external sync mode, Figure 6 NTSC internal sync mode, Figure 5 PAL internal sync mode, Figure 7 NTSC internal sync mode, Figure 5 PAL internal sync mode, Figure 7 NTSC and PAL external sync mode, Figure 8 NTSC and PAL external sync mode, Figure 8 NTSC and PAL internal sync mode, Figure 9 NTSC and PAL internal sync mode, Figure 9 Power-up delay MIN TYP 400 425 40 45 32 30 310 325 115 115 50 12 MAX UNITS ns ns ns ns ns ns ns ms ms
MAX7456
Note 1: See the standard test circuits of Figure 1. RL = 75, unless otherwise specified. All digital input signals are timed from a voltage level of (VIH + VIL) / 2. All parameters are tested at TA = +85C and values through temperature range are guaranteed by design. Note 2: The input-voltage operating range is the input range over which the output signal parameters are guaranteed (Figure 3). Note 3: The input-voltage sync detection range is the input composite video range over which an input sync signal is properly detected and the OSD signal appears at VOUT. However, the output voltage specifications are not guaranteed for input signals exceeding the maximum specified in the input operating voltage range (Figure 3).
CIN 0.1F SIGNAL GEN VIN RIN 75 VOUT
MAX7456
MAX7456
SAG
CL 22pF
RL 150
a) INPUT TEST CIRCUIT
b) ONE STANDARD VIDEO LOAD, DC-COUPLED
Figure 1. Standard Test Circuits
_______________________________________________________________________________________
5
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
Typical Operating Characteristics
(VAVDD = +5V, VDVDD = +5V, VPVDD = +5V, TA = +25C, unless otherwise noted. See the Typical Operating Circuit of Figure 2, if applicable.)
IMAGE WITH ON-SCREEN GRAPHICS
MAX7456 toc01
100% COLOR BARS RESPONSE
MAX7456 toc02
75% COLOR BARS VECTOR DIAGRAM
60% MULTIBURST RESPONSE
MAX7456 toc03
MAX7456 toc04
CVBS OUT (200mV/div)
CVBS OUT
CVBS OUT (200mV/div)
10s/div
10s/div
6
_______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
Typical Operating Characteristics (continued)
(VAVDD = +5V, VDVDD = +5V, VPVDD = +5V, TA = +25C, unless otherwise noted. See the Typical Operating Circuit of Figure 2, if applicable.)
100% SWEEP RESPONSE
DIFFERENTIAL PHASE
MAX7456 toc06
MAX7456 toc05
0.20
DIFFERENTIAL PHASE (deg)
0.15
0.10 CVBS OUT 0.05
CVBS OUT (200mV/div)
0
-0.05 10s/div 1st 2nd 3rd 4th 5th 6th STEP
DIFFERENTIAL GAIN
MAX7456 toc07
2T RESPONSE
0.20
MAX7456 toc08
0.15 DIFFERENTIAL GAIN (%)
CVBS IN (200mV/div) CVBS OUT
0.10
0.05 CVBS OUT (200mV/div)
0
-0.05 1st 2nd 3rd 4th 5th 6th 400ns/div STEP
12.5T RESPONSE
MAX7456 toc09
OSD OUTPUT 100% WHITE PIXEL
MAX7456 toc10
CVBS IN (200mV/div) CVBS OUT (200mV/div)
CVBS OUT (200mV/div)
400ns/div
200ns/div
_______________________________________________________________________________________
7
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
Typical Operating Characteristics (continued)
(VAVDD = +5V, VDVDD = +5V, VPVDD = +5V, TA = +25C, unless otherwise noted. See the Typical Operating Circuit of Figure 2, if applicable.)
LINE-TIME DISTORTION
H TIMING (EXTERNAL-SYNC MODE)
MAX7456 toc12
MAX7456 toc11
CVBS OUT (200mV/div)
CVBS OUT (200mV/div)
10s/div
2s/div
H TIMING (INTERNAL-SYNC MODE)
MAX7456 toc13
LOSS-OF-SYNC (LOW TO HIGH)
MAX7456 toc14
CVBS OUT (200mV/div) CVBS OUT (200mV/div)
LOS (1V/div)
2s/div
500s/div
LOSS-OF-SYNC (HIGH TO LOW)
MAX7456 toc15
CVBS OUT (200mV/div)
LOS (1V/div)
500s/div
8
_______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
Pin Description
PIN 1, 2, 13-16, 27, 28 3 4 5 NAME N.C. DVDD DGND CLKIN No Connection. Not internally connected. Digital Power-Supply Input. Bypass to DGND with a 0.1F capacitor. Digital Ground Crystal Connection 1. Connect a parallel resonant, fundamental mode crystal between CLKIN and XFB for use as a crystal oscillator, or drive CLKIN directly with a 27MHz system reference clock. Crystal Connection 2. Connect a parallel resonant, fundamental mode crystal between CLKIN and XFB for use as a crystal oscillator, or leave XFB unconnected when driving CLKIN with a 27MHz system reference clock. Clock Output. 27MHz logic-level output system clock. Active-Low Chip-Select Input. SDOUT goes high impedance when CS is high. Serial Data Input. Data is clocked in at rising edge of SCLK. Serial Clock Input. Clocks data into SDIN and out of SDOUT. Duty cycle must be between 40% and 60%. Serial Data Output. Data is clocked out at the falling edge of SCLK. High impedance when CS is high. Loss-of-Sync Output (Open-Drain). LOS goes high when the VIN sync pulse is lost for 32 consecutive lines. LOS goes low when 32 consecutive valid sync pulses are received. Connect to a 1k pullup resistor to DVDD or another positive supply voltage suitable for the receiving device. Vertical Sync Output (Open-Drain). VSYNC goes low following the video input's vertical sync interval. VSYNC is either recovered from VIN or internally generated when in internal sync mode. Connect to a 1k pullup resistor to DVDD or another positive supply voltage suitable for the receiving device. Horizontal Sync Output (Open-Drain). HSYNC goes low following the video input's horizontal sync interval. HSYNC is either recovered from VIN or internally generated when in internal sync mode. Connect to a 1k pullup resistor to DVDD or another positive supply voltage suitable for the receiving device. System Reset Input. The minimum RESET pulse width is 50ms. All SPI registers are reset to their default values after 100s following the rising edge of RESET. These registers are not accessible for reading or writing during that time. The display memory is reset to its default value of 00H in all locations after 20s following the rising edge of RESET. Analog Ground Analog Power-Supply Input. Bypass to AGND with a 0.1F capacitor. PAL or NTSC CVBS Video Input Driver Ground. Connect to AGND at a single point. Driver Power-Supply Input. Bypass to PGND with a 0.1F capacitor. Sag Correction Input. Connect to VOUT if not used. See Figure 1b. Video Output Exposed Pad. Internally connected to AGND. Connect EP to the AGND plane for improved heat dissipation. Do not use EP as the only ground connection. FUNCTION
MAX7456
6 7 8 9 10 11 12
XFB CLKOUT CS SDIN SCLK SDOUT LOS
17
VSYNC
18
HSYNC
19
RESET
20 21 22 23 24 25 26 --
AGND AVDD VIN PGND PVDD SAG VOUT EP
_______________________________________________________________________________________
9
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
+5V
MAX7456
+5V 1 2 0.1F 27MHz N.C. N.C. N.C. 28 N.C. 27 VOUT 26 SAG 25 PVDD 24 0.1F 6 CLKOUT CS SDIN SCLK SDOUT 7 8 9 XFB CLKOUT CS SDIN PGND 23 VIN 22 AVDD 21 AGND 20 RESET 19 HSYNC 18 VSYNC 17 N.C. 16 N.C. 15 LOS 1k 1k 1k HS VS 0.1F 75 +5V 0.1F CVBS IN CSAG COUT 75 CVBS OUT
3 DVDD 4 5 DGND CLKIN
10 SCLK 11 SDOUT 12 LOS 13 N.C. 14 N.C.
Figure 2. Typical Operating Circuit
Detailed Description
The MAX7456 single-channel monochrome on-screen display (OSD) generator integrates all the functions needed to generate a user-defined OSD and insert it into the output signal. The MAX7456 accepts a composite NTSC or PAL video signal. The device includes an input clamp, sync separator, video timing generator, OSD insertion mux, nonvolatile character memory, display memory, OSD generator, crystal oscillator, an SPI-compatible interface to read/write the OSD data, and a video driver (see the Simplified Functional Diagram). Additionally, the MAX7456 provides vertical sync (VSYNC), horizontal sync (HSYNC), and loss-of sync (LOS) outputs for system synchronization. A clock output signal (CLKOUT) allows daisy-chaining of multiple devices. See the MAX7456 Register Description section for an explanation of register notation use in this data sheet.
The 256 user-defined 12 x 18 pixel character set comes preloaded and is combined with the input video stream to generate a CVBS signal with OSD video output. A maximum of 256 12 x 18 pixel characters can be reprogrammed in the NVM. In NTSC mode, 13 rows x 30 characters are displayed. In PAL mode, 16 rows x 30 characters are displayed. When the input video signal is absent, the OSD image can still be displayed by using the MAX7456's internal video timing generator.
Video Input
The MAX7456 accepts standard NTSC or PAL CVBS signals at VIN. The video signal input must be AC-coupled with a 0.1F capacitor and is internally clamped. An input coupling capacitance of 0.1F is required to guarantee the specified line-time distortion (LTD) and video clamp settling time. The video clamp settling time changes proportionally to the input coupling capacitance, and LTD changes inversely proportional to the capacitance.
10
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
MAXIMUM VIDEO SWING
WHITE LEVEL
INPUT VOLTAGE VIN COLOR BURST
SYNC TIP LEVEL
BLACK LEVEL
MINIMUM VIDEO SWING
Figure 3. Definition of Terms
Input Clamp
The MAX7456's clamp is a DC-restore circuit that uses the input coupling capacitor to correct any DC shift of the input signal, on a line-by-line basis, such that the sync tip at VIN is approximately 550mV. This establishes a DC level at VIN suitable for the on-chip sync detection and video processing functions. This circuitry also removes low-frequency noise such as 60Hz hum or other additive low-frequency noise.
Sync Separator
The sync separator detects the composite sync pulses on the video input and extracts the timing information to generate HSYNC and VSYNC. It is also used for internal OSD synchronization and loss-of-sync (LOS) detection. LOS goes high if no sync signal is detected at VIN for 32 consecutive lines, and goes low if 32 consecutive horizontal sync signals are detected. During a LOS condition, when VM0[5] = 0 (Video Mode 0 register, bit 5), only the OSD appears at the VOUT. At this time, the input image is set to a gray level at VOUT as determined by VM1[6:4]. The behavior of all sync modes is shown in Table 1.
Table 1. Video Sync Modes
VIDEO MODE Auto Sync Select Mode VM0[5, 4] = 0x External Sync Select VM0[5, 4] = 10 Internal Sync Select VM0[5, 4] = 11 VIN Video No input Video No input Video No input VSYNC Active Active Active Inactive (high) Active Active HSYNC Active Active Active Inactive (high) Active Active LOS Low High Low High High High VOUT VIN + OSD OSD only VIN + OSD DC OSD only OSD only
X = Don't care. ______________________________________________________________________________________ 11
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
Video Timing Generator
The video timing generator is a digital circuit generating all internal and external (VSYNC and HSYNC) timing signals. VSYNC and HSYNC can be synchronized to VIN, or run independently of any input when in internal sync mode. The video timing generator can generate NTSC or PAL timing using the same 27MHz crystal (see Figures 4-9).
Display Memory (SRAM)
The display memory stores 480 character addresses that point to the characters stored in the NVM character memory. The content of the display memory is userprogrammable through the SPI-compatible serial interface. The display-memory address corresponds to a fixed location on a monitor (see Figure 10). Momentary breakup of the OSD image can be prevented by writing to the display memory during the vertical blanking interval. This can be achieved by using VSYNC as an interrupt to the host processor to initiate writing to the display memory.
Crystal Oscillator
The internal crystal oscillator generates the system clock used by the video timing generator. The oscillator uses a 27MHz crystal or can be driven by an external 27MHz TTL clock at CLKIN. For external clock mode, connect the 27MHz TTL input clock to CLKIN and leave XFB unconnected.
VERTICAL SYNCHRONIZATION PULSE INTERVAL
1/2H
VOUT (ODD FIELD)
50%
50%
VOUT (EVEN FIELD)
50%
50%
VSYNC
50%
tVOUT-VSF
tVOUT-VSR
HSYNC (ODD FIELD)
HSYNC (EVEN FIELD)
Figure 4. VOUT, VSYNC, and HSYNC Timing (NTSC, External Sync Mode)
12
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
VERTICAL SYNCHRONIZATION PULSE INTERVAL
1/2H
VOUT (ODD FIELD)
50%
50%
VOUT (EVEN FIELD)
50%
50%
VSYNC
50%
50%
tVSF-VOUT
tVSR-VOUT
HSYNC (ODD FIELD)
HSYNC (EVEN FIELD)
Figure 5. VOUT, VSYNC, and HSYNC Timing (NTSC, Internal Sync Mode)
______________________________________________________________________________________
13
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
VERTICAL SYNCHRONIZATION PULSE INTERVAL 1/2H
VOUT (ODD FIELD)
50%
50%
VOUT (EVEN FIELD)
50%
50%
VSYNC
50%
50%
tVOUT-VSF
tVOUT-VSR
HSYNC (ODD FIELD)
HSYNC (EVEN FIELD)
Figure 6. VOUT, VSYNC, and HSYNC Timing (PAL, External Sync Mode)
14
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
VERTICAL SYNCHRONIZATION PULSE INTERVAL
1/2H
VOUT (ODD FIELD)
50%
50%
VOUT (EVEN FIELD)
50%
50%
VSYNC
50%
50%
tVSF-VOUT
tVSR-VOUT
HSYNC (ODD FIELD)
HSYNC (EVEN FIELD)
Figure 7. VOUT, VSYNC, and HSYNC Timing (PAL, Internal Sync Mode)
______________________________________________________________________________________
15
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
VOUT
50%
50%
tVOUT-HSF
tVOUT-HSR
HSYNC
Figure 8. VOUT, and HSYNC Horizontal Sync Timing (NTSC and PAL, External Sync Mode)
VOUT
50%
50%
tHSF-VOUT
tHSR-VOUT
HSYNC
Figure 9. VOUT and HSYNC Horizontal Sync Timing (NTSC and PAL, Internal Sync Mode) 16 ______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
Character Memory (NVM)
The character memory is a 256-row x 64-byte wide nonvolatile memory (NVM) that stores the characters or graphic images, and is factory preloaded with the characters shown in Figure 12. The content of the character memory is user-programmable through the SPI-compatible serial interface. Each row contains the description of a single OSD character. Each character consists of 12 horizontal x 18 vertical pixels where each pixel is represented by 2 bits of data having three states: white, black, or transparent. Thus, each character requires 54 bytes of pixel data (Figure 11). The NVM requires reading and writing a whole character (64 bytes) at a time. This is enabled by an additional row of memory called the shadow RAM. The 64-byte temporary shadow RAM contains all the pixel data of a selected character (CMAH[7:0]) and is used as a buffer for read and write operations to the NVM (Figure 13). Accessing the NVM is always through the shadow RAM, and is thus a two-step process. To write a character to the NVM, the user first fills the shadow RAM using 54 8-bit SPI write operations, and then executes a single shadow RAM write command. Similarly, reading a character's pixel values requires first reading a character's pixel data into the shadow RAM, and then reading the desired pixel data from the shadow RAM to the SPI port.
MAX7456
DISPLAY MEMORY ADDRESS (DMAH, DMAL)
DISPLAY MEMORY ADDRESS (DMAH, DMAL) CHARACTER ADDRESS (CA) CHARACTER ATTRIBUTE LBI BLNXXXXX CKV
0 30
29 59 DISPLAY AREA (16 ROWS x 30 CHARACTERS)
0
ADDRESS (8 BIT)
29
ADDRESS (8 BIT)
LBI BLNXXXXX CKV
CHARACTER DATA ARRANGEMENT IN DISPLAY MEMORY (SRAM) 480 ROWS x 2 BYTES SRAM CHARACTER ATTRIBUTE BIT DEFINITIONS: LBC = LOCAL BACKGROUND CONTROL BLK = BLINK CONTROL INV = INVERT CONTROL X = DON'T CARE
DISPLAY MEMORY (TWO, 256 x 16-BIT SRAMs) 450 479 479 ADDRESS (8 BIT) LBI BLNXXXXX CKV
CHARACTER MEMORY ADDRESS LOW (CMAL) 12 PIXELS 0 0 0 1 2 1 2 51 52
CHARACTER MEMORY ADDRESS HIGH (CMAH) 53 53 54 54 61 62 63 63 0
CHARACTER DATA USAGE (12 x 18 PIXELS) 4 PIXEL VALUES (1 BYTE) 51 52 53 0 1 2
(SEE FIGURE 11 FOR PIXEL MAP)
2-BIT PIXEL DEFINITIONS: 00 = BLACK, OPAQUE 10 = WHITE, OPAQUE X1 = TRANSPARENT (EXTERNAL SYNC MODE) OR GRAY (INTERNAL SYNC MODE)
Figure 10. Definitions of Various Parameters ______________________________________________________________________________________ 17
18 PIXELS
CHARACTER DATA
UNUSED MEMORY
51
52
53
54
61
62
63
255
PIXEL DATA ARRANGEMENT IN CHARACTER MEMORY (NVM) 256 ROWS x 64 BYTES EEPROM
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
PIXEL COLUMN NUMBER 0 CDMI [7, 6] [7, 6] 1 CDMI [5, 4] [5, 4] 2 CDMI [3, 2] [3, 2] 3 CDMI [1, 0] [1, 0] 4 5 6 7 8 9 10 11 CHARACTER MEMORY ADDRESS LOW CMAL[5:0] 0, 1, 2
0
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
1
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
3, 4, 5
2
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
6, 7, 8
3
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
9, 10, 11
4
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
12, 13, 14
5
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
15, 16, 17
6
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
18, 19, 20
7
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
21, 22, 23
PIXEL ROW NUMBER
8
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
24, 25, 26
9
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
27, 28, 29
10
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
30, 31, 32
11
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
33, 34, 35
12
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
36, 37, 38
13
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
39, 40, 41
14
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
42, 43, 44
15
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
45, 46, 47
16
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
48, 49, 50
17
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
[7, 6]
[5, 4]
[3, 2]
[1, 0]
51, 52, 53
2-BIT PIXEL DEFINITION: [x, y] [x, y] [x, y] 00 = BLACK 10 = WHITE X1 = TRANSPARENT (EXTERNAL SYNC MODE) OR GRAY (INTERNAL SYNC MODE) X = DON'T CARE
Figure 11. Character Data Usage (Pixel Map) 18 ______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
CA[3:0], CMAH[3:0]
Figure 12. Character Address Map (Default Character Set)
______________________________________________________________________________________
CA[7:4], CMAH[7:4]
19
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
0. . . . . . . . . . . . . . . . . . . . . . . 63 0 . . . . . . . . . . . 255
CMAH [7:0]
ADDRESS DECODER
NVM ARRAY (256 ROWS x 64 BYTES)
must be very large, typically > 330F. The MAX7456 reduces the value of this capacitor, replacing it with two smaller capacitors (C OUT and C SAG ), substantially reducing the size and cost of the coupling capacitors while achieving acceptable line-time distortion (Table 2). Connect SAG to VOUT if not used.
Table 2. SAG-Correction Capacitor Values
64-BYTE SHADOW RAM
CMAL [5:0]
COUT (F) 470
CSAG (F) -- -- 22 47 22 10
LINE-TIME DISTORTION (% typ) 0.2 0.4 0.3 0.3 0.4 0.6
CMDI [7:0]
CMDO [7:0]
100 100 47 22 10
Figure 13. NVM Structure
On-Screen Display (OSD) Generator
The OSD generator sets each pixel amplitude based on the content of the character memory and Row Brightness registers (RB0-RB15).
Serial Interface
The SPI-compatible serial interface programs the operating modes and OSD data. Read capability permits write verification and reading the Status (STAT), Display Memory Data Out (DMDO), and Character Memory Data Out (CMDO) registers. Read and Write Operations The MAX7456 supports interface clocks (SCLK) up to 10MHz. Figure 15 illustrates writing data and Figure 16 illustrates reading data from the MAX7456. Bring CS low to enable the serial interface. Data is clocked in at SDIN on the rising edge of SCLK. When CS transitions high, data is latched into the input register. If CS goes high in the middle of a transmission, the sequence is aborted (i.e., data does not get written into the registers). After CS is brought low, the device waits for the first byte to be clocked into SDIN to identify the type of data transfer being executed. The SPI commands are 16 bits long with the 8 most significant bits (MSBs) representing the register address and the 8 least significant bits (LSBs) representing the data (Figures 15 and 16). There are two exceptions to this arrangement: 1) Auto-increment write mode used for display memory access is a single 8-bit operation (Figure 21). When performing the auto-increment write for the display memory, the 8-bit address is internally generated, and only 8-bit data is required at the serial interface. 2) Reading character data from the display memory, when in 16-bit operation mode, is a 24-bit operation (8-bit address plus 16-bit data). See Figure 20.
OSD Insertion Mux
The OSD insertion mux selects between an OSD pixel and the input video signal. The OSD image sharpness is controlled by the OSD Rise and Fall Time bits, and the OSD Insertion Mux Switching Time bits, found in the OSD Insertion Mux (OSDM) register. This register controls the trade-off between OSD image sharpness and crosscolor/crossluma artifacts. Lower time settings produce sharper pixels, but potentially greater crosscolor/crossluma artifacts. The optimum setting depends on the requirements of the application and, therefore, can be set by the user.
Video-Driver Output
The MAX7456 includes a video-driver output with a gain of 2. The driver has a maximum of 2.4VP-P output swing and a 6MHz large signal bandwidth ( 0.2dB attenuation). The driver output is capable of driving two 150 standard video loads.
Sag Correction
Sag correction is a means of reducing the electrical and physical size of the output coupling capacitor while achieving acceptable line-time distortion. Sag correction refers to the low frequency compensation of the highpass filter formed by the 150 load of a back-terminated coaxial cable and the output coupling capacitor. This breakpoint must be low enough in frequency to pass the vertical sync interval (< 25Hz for PAL and < 30Hz for NTSC) to avoid field tilt. Traditionally, the breakpoint is made < 5Hz, and the coupling capacitor
20
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
tCSW CS tCSS0 tCSH0 tCL tCH tCP tCSH1 tCSS1
SCLK
tDS SDIN tDO4 SDOUT tDO1 tDO2
tDH
tDO3
Figure 14. Detailed Serial-Interface Timing
CS
CS
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 SCLK MSB LSB
1 SCLK MSB SDIN
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16
LSB D7 D6 D5 D4 D3 D2 D1 D0
SDIN
1 A6 A5 A4 A3 A2 A1 A0 MSB LSB D6 D5 D4 D3 D2 D1 D0
0 A6 A5 A4 A3 A2 A1 A0
SDOUT
X
D7
Figure 15. Write Operation
Figure 16. Read Operation
CS CS 1 1 SCLK MSB L B C LSB B L K I N V 0 0 0 0 0 SDOUT X SDIN 1 0 1 1 X X X X MSB L B C LSB B L K I N V 0 0 0 0 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 SCLK MSB LSB 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
SDIN
0
0
0
0
0
1
1
1
Figure 17. Writing Character Attribute Byte in 8-Bit Operation Mode
Figure 18. Reading Character Attribute Byte in 8-Bit Operation Mode 21
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
CS
1 SCLK
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16
SDIN
0
0
0
0
0
1
1
1
MSB C A 7
C A 6
CC AA 54
C A 3
C A 2
C A 1
LSB C A 0
Figure 19. Writing Character Address Byte in 8-Bit and 16-Bit Operation Modes
CS
1 SCLK
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16
1
2
3
4
5
6
7
8
SDIN
1
0
1
1
X
X
X
X MSB C C A A 7 6 LSB C A 0 MSB 0 L B C B L K I N V 0 0 0 LSB 0
SDOUT
X
CC AA 54
C A 3
C A 2
C A 1
Figure 20. Reading Character Address and Character Attribute Bytes in 16-Bit Operation Mode
Resets
Power-On Reset The MAX7456's power-on reset circuitry (POR) provides an internal reset signal that is active after the supply voltage has stabilized. The internal reset signal resets all registers to their default values and clears the display memory. The register reset process requires 100s, and to avoid unexpected results, read/write activity is not allowed during this interval. The display memory is reset, and the OSD is enabled typically 50ms after the supply voltage has stabilized and a stable 27MHz clock is available. The user should avoid SPI operations during this time to avoid unexpected results. After 50ms (typical), STAT[6] can be polled to verify that the reset sequence is complete (Figure 22).
CS
1 SCLK MSB SDIN
2
3
4
5
6
7
8
LSB
D7 D6 D5 D4 D3 D2 D1 D0
Figure 21. Write Operation in Auto-Increment Mode
22
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
4.75V
SUPPLY VOLTAGE
0V
XTAL OSCILLATOR
SPI REGISTER RESET
50ms
100s
DISPLAY MEMORY CLEAR
20s 50ms
POWER ON
POWER STABLE
CLOCK STABLE
POWER-ON RESET START
POR DEFAULT STATE
Figure 22. Power-On Reset Sequence
Software Reset The MAX7456 features a Software Reset bit (VM0[1]) that, when set high, clears the display memory and resets all registers to their default values except the OSD Black Level register (OSDBL). After 100s (typical), STAT[6] can be polled to verify that the reset process is complete. Hardware Reset The MAX7456 provides a hardware reset input (RESET) that functions the same as the POR. All registers are
reset to their default values and are not accessible for reading/writing when RESET is driven low. The resetting process requires a 50ms wide RESET pulse, and no other activities are allowed during this interval. All SPI registers are reset to their default values 100s after the rising edge of RESET. The display memory is reset to its default value of 00H in all locations 20s after the rising edge of RESET. RESET takes precedence over the Software Reset bit. After RESET has been deasserted, STAT[6] can be polled to verify that the reset sequence is complete.
23
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
MAX7456 Register Description
Access to all MAX7456 operations, including displaymemory and character-memory access, are through the SPI registers listed in Table 3. There is no direct access to the display and character memories through the SPI port. See the Applications Information section for step-by-step descriptions of the SPI operations needed to access the memories. The register format used in this data sheet is REGISTER_NAME [BIT_NUMBERS]. For example, bit 1 in Video Mode 0 register is written as VM0[1].
Table 3. Register Map
WRITE ADDRESS 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 10H 11H 12H 13H 14H 15H 16H 17H 18H 19H 1AH 1BH 1CH 1DH 1EH 1FH 6CH -- -- -- READ ADDRESS 80H 81H 82H 83H 84H 85H 86H 87H 88H 89H 8AH 8BH 8CH 90H 91H 92H 93H 94H 95H 96H 97H 98H 99H 9AH 9BH 9CH 9DH 9EH 9FH ECH AxH BxH CxH REGISTER NAME VM0 VM1 HOS VOS DMM DMAH DMAL DMDI CMM CMAH CMAL CMDI OSDM RB0 RB1 RB2 RB3 RB4 RB5 RB6 RB7 RB8 RB9 RB10 RB11 RB12 RB13 RB14 RB15 OSDBL STAT DMDO CMDO Video Mode 0 Video Mode 1 Horizontal Offset Vertical Offset Display Memory Mode Display Memory Address High Display Memory Address Low Display Memory Data In Character Memory Mode Character Memory Address High Character Memory Address Low Character Memory Data In OSD Insertion Mux Row 0 Brightness Row 1 Brightness Row 2 Brightness Row 3 Brightness Row 4 Brightness Row 5 Brightness Row 6 Brightness Row 7 Brightness Row 8 Brightness Row 9 Brightness Row 10 Brightness Row 11 Brightness Row 12 Brightness Row 13 Brightness Row 14 Brightness Row 15 Brightness OSD Black Level Status Display Memory Data Out Character Memory Data Out REGISTER DESCRIPTION
X = Don't care. 24 ______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
Video Mode 0 Register (VM0)
Write address = 00H, read address = 80H. Read/write access: unrestricted. To write to this register, the following conditions must be met:
BIT 7 6 DEFAULT 0 0 Don't Care Video Standard Select 0 = NTSC 1 = PAL Sync Select Mode (Table 1) 0x = Autosync select (external sync when LOS = 0 and internal sync when LOS = 1) 10 = External 11 = Internal Enable Display of OSD Image 0 = Off 1 = On Vertical Synchronization of On-Screen Data 0 = Enable on-screen display immediately 1 = Enable on-screen display at the next VSYNC Software Reset Bit When this bit is set, all registers are set to their default values and the display memory is cleared. When a stable 27MHz clock is present, this bit is automatically cleared internally after typically 100s. The user does not need to write a 0 afterwards. SPI operations should not be performed during this time or unpredictable results may occur. The status of the bit can be checked by reading this register after typically 100s. This register is not accessible for writing until the display memory clear operation is finished (typically 20s). Video Buffer Enable 0 = Enable 1 = Disable (VOUT is high impedance)
1) STAT[5] = 0, the character memory (NVM) is not busy. 2) DMM[2] = 0, the display memory (SRAM) is not in the process of being cleared.
MAX7456
FUNCTION
5, 4
00
3
0
2
0
1
0
0
0
X = Don't care.
______________________________________________________________________________________
25
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
Video Mode 1 Register (VM1)
Write address = 01H, read address = 81H. Read/write access: unrestricted.
BIT DEFAULT FUNCTION Background Mode (See Table 4) 0 = The Local Background Control bit (see DMM[5] and DMDI[7]) sets the state of each character background. 1 = Sets all displayed background pixels to gray. The gray level is specified by bits VM1[6:4] below. This bit overrides the local background control bit. Note: In internal sync mode, the background mode bit is set to 1. Background Mode Brightness (% of OSD White Level) 000 = 0% 001 = 7% 010 = 14% 011 = 21% 100 = 28% 101 = 35% 110 = 42% 111 = 49% Blinking Time (BT) 00 = 2 fields (33ms in NTSC mode, 40ms in PAL mode) 01 = 4 fields (67ms in NTSC mode, 80ms in PAL mode) 10 = 6 fields (100ms in NTSC mode, 120ms in PAL mode) 11 = 8 fields (133ms in NTSC mode, 160ms in PAL mode) Blinking Duty Cycle (On : Off) 00 = BT : BT 01 = BT : (2 x BT) 10 = BT : (3 x BT) 11 = (3 x BT) : BT
7
0
6, 5, 4
100
3, 2
01
1, 0
11
Horizontal Offset Register (HOS)
Write address = 02H, read address = 82H. Read/write access: unrestricted (Figure 23).
BIT 7, 6 DEFAULT 00 Don't Care Horizontal Position Offset (OSD video is not inserted into the horizontal blanking interval) 00 0000 = Farthest left (-32 pixels) 5-0 10 0000 10 0000 = No horizontal offset 11 1111 = Farthest right (+31 pixels) FUNCTION
26
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
Vertical Offset Register (VOS)
Write address = 03H, read address = 83H. Read/write access: unrestricted (Figure 23).
BIT 7, 6, 5 DEFAULT 000 Don't Care Vertical Position Offset (OSD video can be vertically shifted into the vertical blanking lines) 0 0000 = Farthest up (+16 pixels) 4-0 1 0000 1 0000 = No vertical offset 1 1111 = Farthest down (-15 pixels) FUNCTION
MAX7456
HSYNC
ROW NO. 0
VERTICAL POSITION OFFSET
DISPLAY AREA: NTSC: 13 ROWS x 30 COLUMNS PAL: 16 ROWS x 30 COLUMNS
HORIZONTAL POSITION OFFSET
NTSC: 234 LINES PAL: 288 LINES
15
VSYNC
360 PIXELS
Figure 23. Character Display Area
______________________________________________________________________________________
27
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
Display Memory Mode Register (DMM)
Write address = 04H, read address = 84H. Read/write access: unrestricted.
BIT 7 DEFAULT 0 Don't Care Operation Mode Selection 0 = 16-bit operation mode The 16-bit operation mode increases the speed at which the display memory can be updated. When writing to the display memory, the attribute byte is not entered through the SPI-compatible interface. It is entered automatically by copying DMM[5:3] to a character's attribute byte when a new character is written, thus reducing the number of SPI write operations per character from two to one (Figure 19). When in this mode, all characters written to the display memory have the same attribute byte. This mode is useful because successive characters commonly have the same attribute. This mode is distinct from the 8-bit operation mode where a character attribute byte must be written each time a character address byte is written to the display memory (see Table 5). When reading data from the display memory, both the Character Address byte and Character Attribute byte are transferred with the SPI-compatible interface (Figure 18). 1 = 8-bit operation mode The 8-bit operation mode provides maximum flexibility when writing characters to the display memory. This mode enables writing individual Character Attribute bytes for each character (see Table 5). When writing to the display memory, DMAH[1] = 0 directs the data to the Character Address byte and DMAH[1] = 1 directs the Character Attributes byte to the data. This mode is distinct from the 16-bit operation mode where the attribute bits are automatically copied from DMM[5:3] when a character is written. Local Background Control Bit, LBC (see Table 4) Applies to characters written in 16-bit operating mode. 0 = Sets the background pixels of the character to the video input (VIN) when in external sync mode. 1 = Sets the background pixels of the character to the background mode brightness level defined by VM1[6:4] in external or internal sync mode. Note: In internal sync mode, the local background control bit behaves as if it is set to 1. Blink Bit, BLK Applies to characters written in 16-bit operating mode. 0 = Blinking off 1 = Blinking on Note: Blinking rate and blinking duty cycle data in the Video Mode 1 (VM1) register are used for blinking control. In external sync mode: when the character is not displayed, VIN is displayed. In internal sync mode: when the character is not displayed, background mode brightness is displayed (see VM1[6:4]). Invert Bit, INV Applies to characters written in 16-bit operating mode (see Figure 24). 0 = Normal (white pixels display white, black pixels display black) 1 = Invert (white pixels display black, black pixels display white)
To write to this register, the following condition must be met: DMM[2] = 0, the display memory is not in the process of being cleared.
FUNCTION
6
0
5
0
4
0
3
0
28
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
Display Memory Mode Register (DMM) (continued)
BIT DEFAULT FUNCTION Clear Display Memory 0 = Inactive 1 = Clear (fill all display memories with zeros) Note: This bit is automatically cleared after the operation is completed (the operation requires 20s). The user does not need to write a 0 afterwards. The status of the bit can be checked by reading this register. This operation is automatically performed: a) On power-up b) Immediately following the rising edge of RESET c) Immediately following the rising edge of CS after VM0[1] has been set to 1 Vertical Sync Clear Valid only when clear display memory = 1, (DMM[2] = 1) 0 = Immediately applies the clear display-memory command, DMM[2] = 1 1 = Applies the clear display-memory command, DMM[2] = 1, at the next VSYNC time Auto-Increment Mode Auto-increment mode increases the speed at which the display memory can be written by automatically incrementing the character address for each successive character written. This mode reduces the number of SPI commands, and thus the time needed to write a string of adjacent characters. This mode is useful when writing strings of characters written from left-to-right, top-tobottom, on the display (see Table 5). 0 = Disabled 1 = Enabled When this bit is enabled for the first time, data in the Display Memory Address (DMAH[0] and DMAL[7:0]) registers are used as the starting location to which the data is written. When performing the auto-increment write for the display memory, the 8-bit address is internally generated, and therefore only 8-bit data is required by the SPI-compatible interface (Figure 21). The content is to be interpreted as a Character Address byte if DMAH[1] = 0 or a Character Attribute byte if DMAH[1] = 1. This mode is disabled by writing the escape character 1111 1111. If the Clear Display Memory bit is set, this bit is reset internally.
MAX7456
2
0
1
0
0
0
______________________________________________________________________________________
29
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
INVERT BIT DMM[3]
EXTERNAL SYNC MODE AND LOCAL BACKGROUND CONTROL BIT (LBC) = 0
INTERNAL SYNC MODE OR LOCAL BACKGROUND CONTROL BIT (LBC) = 1
0
1
Figure 24. Character Attribute Bit Examples: Invert and Local Background Control
30
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
Table 4. Character Background Control
SYNC MODE BACKGROUND MODE, VM1[7] 0 External Internal 0 1 X LOCAL BACKGROUND CONTROL BIT, LBC DMM[5], DMDI[7] 0 1 X X CHARACTER BACKGROUND PIXEL Input Video Gray Gray Gray
MAX7456
X = Don't care.
Display Memory Address High Register (DMAH)
Write address = 05H, read address = 85H. Read/write access: unrestricted.
BIT 7-2 DEFAULT 0000 00 Don't Care
To write to this register, the following condition must be met: DMM[2] = 0, the display memory is not in the process of being cleared.
FUNCTION
1
0
Byte Selection Bit This bit is valid only when in the 8-bit operation mode (DMM[6] = 1). 0 = Character Address byte is written to or read (DMDI[7:0] contains the Character Address byte). 1 = Character Attribute byte is written to or read (DMDI[7:0] contains the Character Attribute byte). Display Memory Address Bit 8 This bit is the MSB of the display-memory address. The display-memory address sets the location of a character on the display (Figure 10). The lower order 8 bits of the display-memory address is found in DMAL[7:0].
0
0
Display Memory Address Low Register (DMAL)
Write address = 06H, read address = 86H. Read/write access: unrestricted.
BIT DEFAULT
To write to this register, the following condition must be met: DMM[2] = 0, the display memory is not in the process of being cleared.
FUNCTION
7-0
0000 0000
Display Memory Address Bits 7-0 This byte is the lower 8 bits of the display-memory address. The display-memory address sets the location of a character on the display (Figure 10). The MSB of the display-memory address is DMAH[0].
______________________________________________________________________________________
31
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
Display Memory Data In Register (DMDI)
Write address = 07H, read address = 87H. Read/write access: unrestricted. To write to this register, the following condition must be met: DMM[2] = 0, the display memory is not in the process of being cleared.
FUNCTION Character Address or Character Attribute byte to be stored in the display memory. 8-Bit Operation Mode (DMM[6] = 1) If DMAH[1] = 0, the content is to be interpreted as a Character Address byte, where Bits 7-0 = Character Address bits, CA[7:0] (Figure 12). If DMAH[1] = 1, the content is to be interpreted as a Character Attribute byte where Bit 7 = Local Background Control bit, LBC (Figure 24 and Table 4) Bit 6 = Blink bit, BLK Bit 5 = Invert bit, INV (see Figure 24) Bit 4-0 = 0 (The LBC, BLK, and INV bits are described in the Display Memory Mode register.) 16-Bit Operation Mode (DMM[6] = 0) The content is always interpreted as a Character Address byte where bits 7-0 = CA[7:0] (Figure 12). Auto-Increment Mode (DMM[0] = 1) The character address CA[7:0] = FFH is reserved for use as an escape character that terminates the auto-increment mode. Therefore, the character located at address FFH is not available for writing to the display memory when in auto-increment mode. In all other modes, character FFH is available.
BIT
DEFAULT
7-0
0000 0000
32
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
Character Memory Mode Register (CMM)
Write address = 08H, read address = 88H. Read/write access: unrestricted. To write to this register, the following conditions must be met: 1) STAT[5] = 0, the character memory (NVM) is not busy. 2) VM0[3] = 0, the OSD is disabled.
FUNCTION Only whole characters (54 bytes) can be written to or read from the nonvolatile character memory (NVM) at one time. This is done through the (64 byte) shadow RAM (Figure 13). The shadow RAM is accessed through the SPI port one byte at a time. The shadow RAM is written to and read from NVM by the following procedures: Writing to NVM 1010 XXXX = Write to NVM array from shadow RAM. The 64 bytes from shadow RAM are written to the NVM array at the character-memory address location (CMAH, CMAL) (Figure 13). The character memory is busy for approximately 12ms during this operation. During this time, STAT[5] is automatically set to 1. The Character Memory Mode register is cleared and STAT[5] is reset to 0 after the write operation has been completed. The user does not need to write zeros afterwards. 7-0 0000 0000 Reading from NVM 0101 XXXX = Read from NVM array into shadow RAM. The 64 bytes corresponding to the character-memory address (CMAH, CMAL) are read from the NVM array into the shadow RAM (Figure 13). The character memory is busy for approximately 0.5s during this operation. The CMM register is cleared after the operation is completed. The user does not need to write zeros afterwards. During this time, STAT[5] is automatically set to 1. STAT[5] is reset to 0 when the read operation has been complete. If the display has been enabled (VM0[3] = 1) or the character memory is busy (STAT[5] = 1), NVM read/write operation commands are ignored and the corresponding registers are not updated. However, all the registers can be read at any time. For all the character-memory operations, the character address is formed with Character Memory Address High (CMAH[7:0]) and Character Memory Address Low (CMAL[7:0]) register bits (Figures 11, 12, and 13).
MAX7456
BIT
DEFAULT
X = Don't care.
______________________________________________________________________________________
33
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
Character Memory Address High Register (CMAH)
Write address = 09H, read address = 89H. Read/write access: unrestricted. To write to this register, the following conditions must be met: 1) STAT[5] = 0, the character memory (NVM) is not busy. 2) VM0[3] = 0, the OSD is disabled.
FUNCTION Character Memory Address Bits These 8 bits point to a character in the character memory (256 characters total in NVM) (Figures 10 and 12).
BIT 7-0
DEFAULT 0000 0000
Character Memory Address Low Register (CMAL)
Write address = 0AH, read address = 8AH. Read/write access: unrestricted.
To write to this register, the following conditions must be met: 1) STAT[5] = 0, the character memory (NVM) is not busy. 2) VM0[3] = 0, the OSD is disabled.
FUNCTION
BIT 7, 6 5-0
DEFAULT 00 00 0000 Don't Care
Character Memory Address Bits These 6 bits point to one of the 64 bytes (only 54 used) that represent a 4-pixel group in the character (Figures 10 and 11).
Character Memory Data In Register (CMDI)
Write address = 0BH, read address = 8BH. Read/write access: unrestricted.
To write to this register, the following conditions must be met: 1) STAT[5] = 0, the character memory (NVM) is not busy. 2) VM0[3] = 0, the OSD is disabled.
FUNCTION
BIT 7, 6 5, 4 3, 2 1, 0
DEFAULT NA NA NA NA
Leftmost pixel. 00 = Black, 10 = White, 01 or 11 = Transparent (see Figure 11) Left center pixel. 00 = Black, 10 = White, 01 or 11 = Transparent (see Figure 11) Right center pixel. 00 = Black, 10 = White, 01 or 11 = Transparent (see Figure 11) Rightmost pixel. 00 = Black, 10 = White, 01 or 11 = Transparent (see Figure 11)
NA = Not applicable.
34
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
OSD Insertion Mux Register (OSDM)
Write address = 0CH, read address = 8CH. Read/write access: unrestricted.
BIT 7, 6 DEFAULT 00 Don't Care OSD Rise and Fall Time--typical transition times between adjacent OSD pixels 000: 20ns (maximum sharpness/maximum crosscolor artifacts ) 001: 30ns 010: 35ns 011: 60ns 100: 80ns 101: 110ns (minimum sharpness/minimum crosscolor artifacts) OSD Insertion Mux Switching Time-typical transition times between input video and OSD pixels 000: 30ns (maximum sharpness/maximum crosscolor artifacts ) 001: 35ns 010: 50ns 011: 75ns 100: 100ns 101: 120ns (minimum sharpness/minimum crosscolor artifacts) FUNCTION
MAX7456
5, 4, 3
011
2, 1, 0
011
Row N Brightness Register (RB0-RB15)
Address = 10H + row number; write address = 10H through 1FH, read address = 90H through 9FH, read/write access: unrestricted.
BIT 7-4 DEFAULT 0000 Don't Care
Top row number is 0. Bottom row number is 13 in NTSC mode and 15 in PAL mode (see Figure 23).
FUNCTION Character Black Level --All the characters in row N use these brightness levels for the black pixel, in % of OSD white level. 00 = 0% 01 = 10% 10 = 20% 11 = 30% Character White Level --All the characters in row N use these brightness levels for the white pixel, in % of OSD white level. 00 = 120% 01 = 100% 10 = 90% 11 = 80%
3, 2
00
1, 0
01
______________________________________________________________________________________
35
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
OSD Black Level Register (OSDBL)
Write address = 6CH, read address = ECH. Read/write access: This register contains 4 factory-preset bits [3:0] that must not be changed. Therefore,
BIT 7-5 DEFAULT 000 Don't Care OSD Image Black Level Control This bit enables the alignment of the OSD image black level with the input image black level at VOUT. Always enable this bit following power-on reset to ensure the correct OSD image brightness. 0 = Enable automatic OSD black level control 1 = Disable automatic OSD black level control These bits are factory preset. To ensure proper operation of the MAX7456, do not change the values of these bits.
when changing bit 4, first read this register, modify bit 4, and then write back the updated byte.
FUNCTION
4
1
0-3
xxxx
xxxx = Factory preset--can be any one of the 16 possible values. This value is permanently stored in the MAX7456 and will always be restored to the factory preset value following power-on reset or hardware reset.
Status Register (STAT)
Read address = AxH. Read/write access: read only.
BIT 7 6 DEFAULT NA NA Don't Care Reset Mode 0 = Clear when power-up reset mode is complete. Occurs 50ms (typ) following stable VDD (Figure 22) 1 = Set when in power-up reset mode Character Memory Status 0 = Available to be written to or read from 1 = Unavailable to be written to or read from VSYNC Output Level 0 = Active during vertical sync time 1 = Inactive otherwise HSYNC Output Level 0 = Active during horizontal sync time 1 = Inactive otherwise Loss-of-Sync (LOS) 0 = Sync Active. Asserted after 32 consecutive input video lines. 1 = No Sync. Asserted after 32 consecutive missing input video lines. 0 = NTSC signal is not detected at VIN 1 = NTSC signal is detected at VIN 0 = PAL signal is not detected at VIN 1 = PAL signal is detected at VIN FUNCTION
5
NA
4
NA
3
NA
2
NA
1 0
NA NA
NA = Not applicable. X = Don't care. 36 ______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
Display Memory Data Out Register (DMDO)
Read address = BxH. Read/write access: read only. To write to this register the following condition must be met: DMM[2] = 0, the display memory is not in the process of being cleared.
FUNCTION Character Address or Character Attribute byte to be read from the display memory. 8-Bit Operation Mode (DMM[6] = 1): If DMAH[1] = 0, the content is to be interpreted as a Character Address byte, where Bits 7-0 = Character Address bits, CA[7:0] (Figure 12) If DMAH[1] = 1, the content is to be interpreted as a Character Attribute byte where Bit 7 = Local Background Control bit, LBC (see Figure 24 and Table 4) Bit 6 = Blink bit, BLK Bit 5 = Invert bit, INV (see Figure 24) Bit 4-0 = 0 The LBC, BLK, and INV bits are described in the Display Memory Mode register. 16-Bit Operation Mode (DMM[6] = 0): The content is to be interpreted as a Character Address byte, where Bits 7-0 = CA[7:0] (see Figure 12) followed by a Character Attribute byte, where Bit 7 = 0 Bit 6 = Local Background Control bit, LBC (see Figure 24 and Table 4) Bit 5 = Blink bit, BLK Bit 4 = Invert bit, INV (see Figure 24) Bit 3-0 = 0 The LBC, BLK, and INV bits are described in the Display Memory Mode register.
MAX7456
BIT
DEFAULT
7-0
NA
NA = Not applicable. X = Don't care.
Character Memory Data Out Register (CMDO)
Read address = CxH. Read/write access: read only.
BIT 7, 6 5, 4 3, 2 1, 0 DEFAULT NA NA NA NA
To write to this register, the following conditions must be met: 1) STAT[5] = 0, the character memory (NVM) is not busy. 2) VM0[3] = 0, the OSD is disabled.
FUNCTION
Leftmost pixel. 00 = Black, 10 = White, 01 or 11 = Transparent (see Figure 11) Left center pixel. 00 = Black, 10 = White, 01 or 11 = Transparent (see Figure 11) Right center pixel. 00 = Black, 10 = White, 01 or 11 = Transparent (see Figure 11) Rightmost pixel. 00 = Black, 10 = White, 01 or 11 = Transparent (see Figure 11)
NA = Not applicable. X = Don't care.
______________________________________________________________________________________
37
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
Applications Information
Character-Memory Operation
Only whole characters (54 bytes of pixel data) can be written to or read from the NVM character memory at one time. This is done through the (64 byte) shadow RAM (see Figure 13). The shadow RAM is accessed by the SPI port one byte at a time. The shadow RAM is written to and read from the NVM by a single SPI command. Steps for Writing Character Bytes into the NVM Character Memory Writing a new character: 1) Write VM0[3] = 0 to disable the OSD image display. 2) Write CMAH[7:0] = xxH to select the character (0-255) to be written (Figures 10 and 13). 3) Write CMAL[7:0] = xxH to select the 4-pixel byte (0-63) in the character to be written (Figures 10 and 13). 4) Write CMDI[7:0] = xxH to set the pixel values of the selected part of the character (Figures 11 and 13). 5) Repeat steps 3 and 4 until all 54 bytes of the character data are loaded into the shadow RAM. 6) Write CMM[7:0] = 1010xxxx to write to the NVM array from the shadow RAM (Figure 13). The character memory is busy for approximately 12ms during this operation. STAT[5] can be read to verify that the NVM writing process is complete. 7) Write VM0[3] = 1 to enable the OSD image display. Modifying an existing character: 1) Write VM0[3] = 0 to disable the OSD image display. 2) Write CMAH[7:0] = xxH to select the character (0-255) to be modified (Figures 10 and 13). 3) Write CMM[7:0] = 0101xxxx to read character data from the NVM to the shadow RAM (Figure 13). 4) Write CMAL[7:0] = xxH to select the 4-pixel byte (0-63) in the character to be modified (Figures 10 and 13). 5) Read CMDO[7:0] = xxH to read the byte of 4-pixel data to be modified (Figures 11 and 13). 6) Modify the byte of 4-pixel data as desired. 7) Write CMDI[7:0] = xxH to write the modified byte of 4-pixel data back to the shadow RAM (Figures 11 and 13). 8) Repeat steps 4 through 7 as needed until all pixels have been loaded into the shadow RAM. 9) Write CMM[7:0] = 1010xxxx to write the shadow RAM data to the NVM (Figure 13). The character
38
memory is busy for typically 12ms during this operation. STAT[5] can be read to verify that the NVM writing process is complete. 10) Write VM0[3] =1 to enable the OSD image display. Steps for Reading Character Bytes from Character Memory 1) Write VM0[3] = 0 to disable the OSD image. 2) Write CMAH[7:0] = xxH to select the character (0-255) to be read (Figures 10 and 13). 3) Write CMM[7:0] = 0101xxxx to read the character data from the NVM to the shadow RAM (Figure 13). 4) Write CMAL[7:0] = xxH to select the 4-pixel byte (0-63) in the character to be read (Figures 10 and 13). 5) Read CMDO[7:0] = xxH to read the selected 4-pixel byte of data (Figures 11 and 13). 6) Repeat steps 4 and 5 to read other bytes of 4-pixel data. 7) Write VM0[3] = 1 to enable the OSD image display.
Display-Memory Operation
The following two steps enable viewing of the OSD image. These steps are not required to read from or write to the display memory: 1) Write VM0[3] = 1 to enable the display of the OSD image. 2) Write OSDBL[4] = 0 to enable automatic OSD black level control. This ensures the correct OSD image brightness. This register contains 4 factory-preset bits [3:0] that must not be changed. Therefore, when changing bit 4, first read OSDBL[7:0], modify bit 4, and then write back the updated byte. Steps for Clearing Display Memory Write DMM[2] = 1 to start the clear display-memory operation. This operation typically takes 20s. The Display Memory Mode register cannot be written to again until the clear operation is complete. DMM[2] is automatically reset to zero upon completion. Steps for Writing to Display Memory in 8-Bit Mode The 8-bit operation mode provides maximum flexibility when writing characters to the display memory. This mode enables writing individual Character Attribute bytes for each character (see Table 5). This mode is distinct from the 16-bit operation mode where the Character Attribute byte is automatically copied from DMM[5:3] when a character is written (Figure 19). Write DMM[6] = 1 to select the 8-bit operation mode.
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
Writing the Character Address Byte to the Display Memory: 1) Write DMAH[1] = 0 to write a Character Address byte. 2) Write DMAH[0] = x to select the MSB and DMAL[7:0] = xxH to select the lower order bits of the address where the character data is to be written. This address determines the location of the character on the display (see Figure 10). 3) Write the Character Address byte (CA[7:0]) to be written to the display memory to DMDI[7:0] (see Figures 10, 12, and 19). Writing the Character Attribute Byte to the Display Memory: 1) Write DMAH[1] = 1 to write a Character Attribute byte. 2) Write DMAH[0] = x to select the MSB and DMAL[7:0] = xxH to select the lower order bits of the address where the character data is to be written. This address determines the location of the character on the display (Figure 10). 3) Write the Character Attribute byte to be written to the display memory to DMDI[7:0] (see Figures 10 and 19). Steps for Writing to Display Memory in 16-Bit Mode The 16-bit operation mode increases the speed at which the display memory can be updated. This is done by automatically copying DMM[5:3] to a Character's Attribute byte when a new character is written, thus reducing the number of SPI write operations per character from two to one (Figure 19). When in this mode, all characters written to the display memory have the same attribute byte. This mode is useful because successive characters commonly have the same attribute. This mode is distinct from the 8-bit operation mode where a Character Attribute byte must be written each time a Character Address byte is written to the display memory (see Table 5). 1) Write DMM[6] = 0 to select the 16-bit operation mode. 2) Write DMM[5:3] = xxx to set the Local Background Control (LBC), Blink (BLK), and Invert (INV) attribute bits that will be applied to all characters written to the display memory while in the 16-bit operation mode. 3) Write DMAH[0] = x to select the MSB and DMAL[7:0] = xxH to select the lower order bits of the address where the character data is to be written. This address determines the location of the character on the display (see Figure 10). 4) Write the Character Address byte (CA[7:0]) to be written to the display memory into DMDI[7:0]. It will be stored along with a Character Attribute byte derived from DMM[5:3] (Figures 12 and 19). Steps for Writing to Display Memory in Auto-Increment Mode Auto-increment mode increases the speed at which the display memory can be written by automatically incrementing the character address for each successive character written. This mode is useful when writing strings of characters written from left-to-right and topto-bottom on the display. This mode reduces the number of SPI commands (see Table 5). When in 8-Bit Operating Mode: 1) Write DMM[0] = 1 to set the auto-increment mode. 2) Write to DMM[6] = 1 to set the 8-bit operation mode. 3) Write DMAH[1] = 0 to select if a Character Address byte will be written or DMAH[1] = 1 to select if a Character Attribute byte will be written. 4) Write DMAH[0] = x to select the MSB and DMAL[7:0] to select the lower order address bits, of the starting address for auto-increment operation. This address determines the location of the character on the display (see Figures 10 and 21). 5) Write to DMDI[7:0] to store character data (Character Address or Character Attribute bytes) to the current display-memory address. The display-memory address is automatically incremented following the write operation. Subsequent characters are successively written from left-to-right and top-to-bottom on the display (see Figure 10). Repeat until the final displaymemory address is reached. 6) Write DMDI[7:0] = FFH to terminate the auto-increment mode. Note that the character stored at CA[7:0] = FFH is not available for use when in autoincrement mode. When in 16-Bit Operating Mode: 1) Write DMM[0] = 1 to set the auto-increment mode. 2) Write DMM[6] = 0 to set the 16-bit operation mode. 3) Write DMM[5:3] = xxx to set the Local Background Control (LBC), Blink (BLK), and Invert (INV) attribute bits that will be applied to all characters. 4) Write DMAH[0] = x to select the MSB and DMAL[7:0] to select the lower order address bits, of the starting address for auto-increment operation.
MAX7456
______________________________________________________________________________________
39
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
This address determines the location of the character on the display (see Figures 10 and 21). 5) Write the Character Address byte (CA[7:0]) to be written to the display memory into DMDI[7:0]. It will be stored along with a Character Attribute byte derived from DMM[5:3] (see Figure 19). The display-memory address is automatically incremented following the write operation. Repeat until the final display-memory address is reached. 6) Write DMDI[7:0] = FFH to terminate the auto-increment mode. Note that the character stored at CA[7:0] = FFH is not available for use when in autoincrement mode. Steps for Reading from Display Memory in 8-Bit Mode 1) Write DMM[6] = 1 to select the 8-bit operation mode. 2) Write DMAH[1] = 0 to read the Character Address byte or DMAH[1] = 1 to read the Character Attribute byte. 3) Write to DMAH[0] to select the MSB of the address where data must be read from (Figure 10). 4) Write to DMAL[7:0] to select all the lower order bits, except for the MSB, of the address where data must be read from (Figure 10). 5) Read DMDO[7:0] to read the data from the selected location in the display memory (Figure 10). Steps for Reading from Display Memory in 16-Bit Mode 1) Write DMM[6] = 0 to select the 16-bit operation mode. 2) Write DMAH[0] = x to select the MSB and DMAL[7:0] = xxH to select the lower order bits of the address where the character data is to be read. This address determines the location of the character on the display (see Figure 10). 3) Read DMDO[15:0] to read the Character Address byte and the Character Attribute byte from the selected location in the display memory. The first data byte is the Character Address (CA[7:0]), and the second byte contains the Character Attribute bits (Figure 20). Note that the bit positions of the Character Attribute byte when read, differ from when they are written. See the Display Memory Data Out Register (DMDO) section and Figure 20 for a description of the bit locations of the attribute bits when reading. Note: If an internal display-memory read request occurs simultaneously with an SPI display-memory operation, the internal read request is ignored, and the display of that character, during that field time, may appear to momentarily break up. See the Synchronous OSD Updates section.
Synchronous OSD Updates
The display of a character may momentarily appear to break up if an internal display-memory read request occurs simultaneously with an SPI display-memory operation. Momentary breakup of the OSD image can be prevented by writing to the display memory during the vertical blanking interval. This can be achieved by using VSYNC as an interrupt to the host processor to initiate writing to the display memory. Alternatively, the OSD image can be synchronously disabled before writing to the display memory and synchronously reenabled afterwards (see VM0[3:2]).
Multiple OSDs with Common Clock Application
The MAX7456 provides a TTL clock output (CLKOUT) capable of driving one CLKIN pin of another MAX7456. Two or more MAX7456 parts can be driven using an external clock driver. This arrangement reduces the system cost by having only one crystal on one MAX7456 that supplies the clock signal to multiple MAX7456 parts (Figure 25).
Table 5. Display-Memory Access Modes and SPI Operations
OPERATING MODE 16-Bit Mode DMM[6] = 0 8-Bit Mode DMM[6] = 1 AUTO-INCREMENT MODE DISABLED DMM[0] = 0 One-time setup Per character One-time setup Per character No. OF READ OPERATIONS 2 3 1 6 No. OF WRITE OPERATIONS 1 3 1 6 AUTO-INCREMENT MODE ENABLED DMM[0] = 1 One-time setup Per character One-time setup Per character No. OF WRITE OPERATIONS 6 1 6 1
40
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
+ +5V N.C. 28 N.C. 27 VOUT 26 SAG 25 PVDD 24 PGND 23 VIN 22 AVDD 21 AGND 20 RESET 19 HSYNC 18 VSYNC 17 N.C. 16 N.C. 15 LOS1 + +5V 1 2 3 0.1F 4 5 CLOCK DRIVER CS2 6 7 8 9 DGND CLKIN XFB CLKOUT CS SDIN SAG 25 PVDD 24 0.1F PGND 23 VIN 22 AVDD 21 0.1F AGND 20 RESET 19 HSYNC 18 VSYNC 17 N.C. 16 N.C. 15 LOS2 1k 1k 1k HS2 VS2 +5V 75 0.1F CVBS IN2 CSAG 1k 1k 1k HS1 VS1 0.1F 75 +5V CSAG 0.1F 0.1F CVBS IN1 COUT 75 CVBS OUT1
MAX7456
+5V 1 2 3 0.1F 27MHz 4 5 6 7 CS1 SDIN SCLK SDOUT 8 9 N.C. N.C. DVDD DGND CLKIN XFB CLKOUT CS SDIN
10 SCLK 11 SDOUT 12 LOS 13 N.C. 14 N.C.
MAX7456
N.C. N.C. DVDD
+5V N.C. 28 N.C. 27 COUT 75 CVBS OUT2
VOUT 26
10 SCLK 11 SDOUT 12 LOS 13 N.C. 14 N.C.
TO OTHER MAX7456 PARTS AS NEEDED
Figure 25. Typical Multiple OSDs with Daisy-Chained Clock
______________________________________________________________________________________
41
Single-Channel Monochrome On-Screen Display with Integrated EEPROM MAX7456
Selecting a Clock Crystal
Choose a 27MHz parallel resonant, fundamental mode crystal. No external load capacitors are needed. All capacitors required for the Pierce oscillator are included on-chip.
Pin Configuration
TOP VIEW +
N.C. 1 N.C. 2 DVDD 3 DGND 4 CLKIN 5 XFB 6 CLKOUT 7 CS 8 SDIN 9 SCLK 10 SDOUT 11 LOS 12 N.C. 13 N.C. 14 28 N.C. 27 N.C. 26 VOUT 25 SAG 24 PVDD
Power Supply and Bypassing
The MAX7456 operates from three independent supply lines. Each supply must be within a +4.75V to +5.25V voltage range. Separate the digital power supply from the analog and video-driver supply lines to prevent high-frequency digital noise that may couple onto the video output. All three supplies should be at the same DC voltage. Bypass each supply with a 0.1F capacitor to ground very close to the IC pins. There are no power-supply sequencing requirements for the device.
MAX7456
23 PGND 22 VIN 21 AVDD 20 AGND 19 RESET 18 HSYNC 17 VSYNC 16 N.C. 15 N.C.
Layout Concerns
For best performance, make the VIN and VOUT traces as short as possible. Place all AC-coupling capacitors and 75 termination resistors close to the device with the resistors terminated to the solid analog ground plane. Since the MAX7456 TSSOP package has an exposed pad (EP) underneath, do not run traces under the package to avoid possible short circuits. Refer to the MAX7456 EV kit for an example of PCB layout. To aid heat dissipation, the EP should be connected to a similarly sized pad on the component side of the PCB. This pad should be connected through to the solder-side copper by several plated holes to conduct heat away from the device. The solder-side copper pad area should be larger than the EP area. It is recommended that the EP be connected to ground, but it is not required. Do not use EP as the only ground connection for the device.
TSSOP
Chip Information
PROCESS: BiCMOS
42
______________________________________________________________________________________
Single-Channel Monochrome On-Screen Display with Integrated EEPROM
Package Information
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information, go to www.maxim-ic.com/packages.)
TSSOP 4.4mm BODY.EPS
MAX7456
XX XX
PACKAGE OUTLINE, TSSOP, 4.40 MM BODY, EXPOSED PAD
21-0108
E
1 1
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 43 (c) 2007 Maxim Integrated Products is a registered trademark of Maxim Integrated Products, Inc.


▲Up To Search▲   

 
Price & Availability of MAX7456EUI

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X